package com.rayo.accesscontrollercopy.model.db.bean;

import com.litesuits.orm.db.annotation.Column;
import com.litesuits.orm.db.annotation.Table;

import java.util.Date;

/**
 * Created by yanghaojie on 16/7/27.
 */
@Table("site_table")
public class SiteData extends BaseModel {
    public static final String SITE = "site";
    public static final String REG_CODE = "regcode";
    public static final String SYS_CODE = "syscode";
    public static final String LOCK_ID = "lockid";
    public static final String GROUP_ID = "groupid";

    @Column(SITE)
    public String site;
    @Column(REG_CODE)
    private String regcode;
    @Column(SYS_CODE)
    private String syscode;
    @Column(LOCK_ID)
    private int lockid;
    @Column(GROUP_ID)
    private int groupid;

    private String name;

    private int mode;

    private int timezoneid;

    public String getSupportkey() {
        return supportkey;
    }

    public void setSupportkey(String supportkey) {
        this.supportkey = supportkey;
    }

    private String supportkey;

    public SiteData() {
        this.site = "0";
        this.regcode = "";
        this.syscode = "";
        this.lockid = 0;
        this.groupid = 0;
        this.editime = new Date();
    }

    public int getTimezoneid() {
        return timezoneid;
    }

    public void setTimezoneid(int timezoneid) {
        this.timezoneid = timezoneid;
    }

    public int getMode() {
        return mode;
    }

    public void setMode(int mode) {
        this.mode = mode;
    }

    public String getSite() {
        return site;
    }

    public void setSite(String site) {
        this.site = site;
    }

    public String getRegcode() {
        return regcode;
    }

    public void setRegcode(String regcode) {
        this.regcode = regcode;
    }

    public String getSyscode() {
        return syscode;
    }

    public void setSyscode(String syscode) {
        this.syscode = syscode;
    }

    public int getLockid() {
        return lockid;
    }

    public void setLockid(int lockid) {
        this.lockid = lockid;
    }

    public int getGroupid() {
        return groupid;
    }

    public void setGroupid(int groupid) {
        this.groupid = groupid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

